From 6f74de53312cd8b874e5ad658171af4cdf372b12 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 30 Jan 2016 22:52:13 -0500 Subject: [PATCH] Don't include the builtin sequence table in multiple places The table is defined as static const guint16 [], so it really should only be included in one source file. --- gtk/gtkimcontextsimple.c | 1 + gtk/gtkimcontextsimpleprivate.h | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 6ec1bda6a5..ce906ae7f6 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -39,6 +39,7 @@ #include "gtkcomposetable.h" #include "gtkimcontextsimpleprivate.h" +#include "gtkimcontextsimpleseqs.h" /** * SECTION:gtkimcontextsimple diff --git a/gtk/gtkimcontextsimpleprivate.h b/gtk/gtkimcontextsimpleprivate.h index 737f07a233..401156a84e 100644 --- a/gtk/gtkimcontextsimpleprivate.h +++ b/gtk/gtkimcontextsimpleprivate.h @@ -22,13 +22,6 @@ #include "gdk/gdkkeysyms.h" -/* This file contains the table of the compose sequences, - * static const guint16 gtk_compose_seqs_compact[] = {} - * IT is generated from the compose-parse.py script. - */ -#include "gtkimcontextsimpleseqs.h" - - G_BEGIN_DECLS extern const GtkComposeTableCompact gtk_compose_table_compact; -- 2.30.2